//
//  DeliveredResumeTableViewCell.h
//  CYWFrame
//
//  Created by 于顺燊 on 2018/9/24.
//  Copyright © 2018年 Macx. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "InterviewManageModel.h"

@protocol DeliveredResumeCellDelegate1 <NSObject>

- (void) rejectInvitation:(NSString *)deliveryId;
- (void) chooseDateForDeliveryId:(NSString *)deliveryId;

@end

@protocol DeliveredResumeCellDelegate2 <NSObject>

- (void) chooseDateForInterviewId:(NSString *)interviewId;
- (void) employ:(NSString *)interviewId;
- (void) notEmploy:(NSString *)interviewId;

@end


@interface DeliveredResumeTableViewCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIImageView *photo;
@property (weak, nonatomic) IBOutlet UILabel *name;
@property (weak, nonatomic) IBOutlet UILabel *education;
@property (weak, nonatomic) IBOutlet UILabel *workExp;
@property (weak, nonatomic) IBOutlet UILabel *position;
@property (weak, nonatomic) IBOutlet UILabel *salary;
@property (weak, nonatomic) IBOutlet UILabel *interviewTime;
@property (weak, nonatomic) IBOutlet UILabel *remarkL;
@property (weak, nonatomic) IBOutlet UILabel *remark;
@property (weak, nonatomic) IBOutlet UIButton *rightBtn1;
@property (weak, nonatomic) IBOutlet UIButton *rightBtn2;
@property (weak, nonatomic) IBOutlet UILabel *state;
@property (weak, nonatomic) IBOutlet UILabel *deliverTime;

//0为企业主动邀请个人，按钮不显示，只显示状态，1为企业收到个人投递，按钮变为拒绝申请/选择时间。这两个是投递箱里的
//2为面试管理模块的已面试，3为已确认，其他一些按钮的隐藏与否看后台返回的状态码，以及是info被赋值了还是model被赋值了来区分。
@property (assign, nonatomic) NSInteger type;

@property (strong, nonatomic) NSDictionary *info;		//用于投递列表
@property (strong, nonatomic) InterviewManageModel *model;
@property (strong, nonatomic) id<DeliveredResumeCellDelegate1> delegate1;
@property (strong, nonatomic) id<DeliveredResumeCellDelegate2> delegate2;
@end
